home *** CD-ROM | disk | FTP | other *** search
/ kermit.columbia.edu / kermit.columbia.edu.tar / kermit.columbia.edu / newsgroups / misc.19950528-19950726 / 000327_news@columbia.edu_Wed Jul 12 14:53:52 1995.msg < prev    next >
Internet Message Format  |  1995-07-31  |  2KB

  1. Received: from apakabar.cc.columbia.edu by watsun.cc.columbia.edu with SMTP id AA23392
  2.   (5.65c+CU/IDA-1.4.4/HLK for <kermit.misc@watsun.cc.columbia.edu>); Wed, 12 Jul 1995 10:53:57 -0400
  3. Received: by apakabar.cc.columbia.edu id AA18759
  4.   (5.65c+CU/IDA-1.4.4/HLK for kermit.misc@watsun); Wed, 12 Jul 1995 10:53:55 -0400
  5. Path: news.columbia.edu!watsun.cc.columbia.edu!fdc
  6. From: fdc@watsun.cc.columbia.edu (Frank da Cruz)
  7. Newsgroups: comp.protocols.kermit.misc
  8. Subject: Re: Binary files in Kerm CMS 4.3
  9. Date: 12 Jul 1995 14:53:52 GMT
  10. Organization: Columbia University
  11. Lines: 34
  12. Message-Id: <3u0nm0$ia5@apakabar.cc.columbia.edu>
  13. References: <3tulne$j02@cronkite.ocis.temple.edu>
  14. Nntp-Posting-Host: watsun.cc.columbia.edu
  15. Apparently-To: kermit.misc@watsun.cc.columbia.edu
  16.  
  17. In article <3tulne$j02@cronkite.ocis.temple.edu>,
  18. Stan Horwitz <stan@astro.ocis.temple.edu> wrote:
  19. >There are 4 different choices when setting the file type under Kermit-CMS
  20. >4.3.0 XA. They're: text, binary, d-binary, and v-binary. I know what the
  21. >text and the binary settings do, but what are the d-binary and v-binary
  22. >settings for? The documentation doesn't explain this. What's the difference
  23. >between the three different binary settings?
  24. >
  25. From the manual, IKCKER.DOC:
  26.  
  27. SET FILE TYPE
  28.  
  29. Syntax: SET FILE TYPE type
  30.  
  31. Specifies the type of data comprising files to be sent or received.  This
  32. setting may be temporarily superseded by the Attribute packets for a
  33. file being received.
  34.  
  35. (TEXT, BINARY, blah blah...)
  36.  
  37. V-BINARY   Specifies varying-length-record binary data.  This type is like
  38.            BINARY, except that a two-byte binary prefix is added to each
  39.            outgoing record giving the number of data bytes, and incoming
  40.            records are set off by (and stripped of) their prefixes on
  41.            receipt.
  42.  
  43. D-BINARY   Is like V-BINARY except that the length prefixes are five-byte
  44.            ASCII-encoded decimal (right-justified with leading zeroes).
  45.  
  46. These types allow CMS variable-length records in binary files (e.g.
  47. program modules) to be preserved when sending to non-CMS systems and then
  48. back again.  Otherwise the record boundaries would be lost.
  49.  
  50. - Frank